<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="../layout/base_resource.jsp" %>
<script type="text/javascript" src="${basePath}assets/js/iframe.js"></script>
<script type="text/javascript" src="${basePath}assets/js/scan/scan_image_pagination.js"></script>
<div class="loc">
	<h3>扫描件编页</h3>
	<ul class="loc_loc"><li> 当前位置：首页扫描> 扫描件编页</li>
	</ul>
</div>

<div id="query_div" class="list_con_table">

   <div class="search_table">
   <input type="hidden" id="basePath" value="${basePath }"/>
   <form id="queryForm">
   	<input type="hidden" name="currentPage" value="1"/>
    <ul>
    <li class="Label_1">住院号：&nbsp;</li>
    <li class="Label_2"><input class="input_box" type="text" name="onlyId" value="${onlyId }"/></li>

    <li class="Label_1">病案号：&nbsp;</li>
    <li class="Label_2"><input class="input_box" type="text" name="mrId" value="${mrId }"/></li>
    <li class="Label_1">姓名：&nbsp;</li>
    <li class="Label_2"><input class="input_box" type="text" name="patientName" /></li>
    <li class="Label_1">身份证号：&nbsp;</li>
    <li class="Label_2"><input class="input_box" type="text" name="idNumber"/></li>
    <li class="Label_1">出院日期：&nbsp;</li>
    <li class="Label_2">
    	<input class="input_box" name="outHospitalStartDate" type="text" style="width:46%" onFocus="WdatePicker()"/>-<input class="input_box" type="text" style="width:46%" name="outHospitalEndDate" onFocus="WdatePicker()" />
    </li>
    <li class="Label_1">出院科室：&nbsp;</li>
    <li class="Label_2">
    	<select name="outDeptCode" class="input_box">
    	</select>
    </li>
    <li class="Label_1">是否编码：&nbsp;</li>
    <li class="Label_2">
    	<input type="radio" name="paginationStatus" value="1"/>&nbsp;已编页&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    	<input type="radio" name="paginationStatus" value="0"/>&nbsp;未编页
    </li>
    <li class="Label_1" id="paginationLabel" hidden="hidden">编页日期：&nbsp;</li>
    <li class="Label_2" id="paginationValue" hidden="hidden">
    	<input class="input_box" name="paginationStartDate" type="text" style="width:46%" onFocus="WdatePicker()"/>-<input class="input_box" type="text" style="width:46%" name="paginationEndDate" onFocus="WdatePicker()" />
    </li>
    <li class="Label_5">
     <a id="queryBtn" onclick="queryBtnClick()">查询</a>
    </li>

    </ul>
    </form>
   </div>
  <table style="width:934px; float:left; border-collapse:collapse;" id="query_show_table">
      <thead>
	      <tr>
	      	  <td class="tdLabel_4">住院号</td>
		      <td class="tdLabel_4">病案号</td>
		      <td class="tdLabel_4">姓名</td>
		      <td class="tdLabel_4">身份证号</td>
		      <td class="tdLabel_4">住院次数</td>
		      <td class="tdLabel_4">出院科室</td>
		      <td class="tdLabel_4">出院日期</td>
		      <td class="tdLabel_4">离院方式</td>
		      <td class="tdLabel_4">是否质控</td>
		      <td class="tdLabel_4">操作</td>
	      </tr>
      </thead>
      <tbody>
      	 <tr hidden="hidden" id="template_tr">
      	  <td class="tdLabel_5"><span class="only_id"></span></td>
	      <td class="tdLabel_5"><span class="mr_id"></span></td>
	      <td class="tdLabel_5"><span class="patient_name"></span></td>
	      <td class="tdLabel_5"><span class="id_number"></span></td>
	      <td class="tdLabel_5"><span class="visit_number"></span></td>
	      <td class="tdLabel_5"><span class="out_dept_name"></span></td>
	      <td class="tdLabel_5"><span class="out_hospital_date"></span></td>
	      <td class="tdLabel_5"><span class="out_hospital_type_name"></span></td>
	      <td class="tdLabel_5"><span class="quality_control_status_name"></span></td>
	      <td class="tdLabel_5">
	      	<a class="operate_pigeonhole" onclick="imagePagination(this)" title="扫描件编页">扫描件编页&nbsp;</a>
	      	<a class="operate_pigeonhole" onclick="showImagePagination(this)" target="_blank" title="编页预览">编页预览&nbsp;</a>

	      	</td>
	     </tr>

      </tbody>
     </table>
    <div id="pageList" class="pageList">
	    <ul class="pagination clearfix" id="page_plus"></ul>
	    <div class="pagination">
	        <div>总共：<b id="totalPage">0</b> 条信息    当前页是第 <b id="currentPage">0/0</b>　页</div>
	    </div>
	</div>
</div>
